{extend name="main/index" /}

{block name="main"}

<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
    <script type="text/javascript">
    try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
    </script>

    <ul class="breadcrumb">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="#">Home</a>
    </li>

    <li>
        <a href="#">Other Pages</a>
    </li>
    <li class="active">添加用户</li>
    </ul><!-- .breadcrumb -->

    <div class="nav-search" id="nav-search">
    <form class="form-search">
        <span class="input-icon">
            <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
            <i class="icon-search nav-search-icon"></i>
        </span>
    </form>
    </div><!-- #nav-search -->
    </div>
    
    <div class="page-content">
        <div class="row">
            <div class="col-xs-12">
                <hr>
                <form action="{:url('admin/user/doAdd')}" method='post' class="form-horizontal">

                    <div class="form-group" style="">
                        <label for="" class="col-sm-2 control-label">用户名：</label>
                        <div class="col-sm-4">
                            <input type="text" name="username" class="form-control" placeholder="用户名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">姓名：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="name" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">密  码 ：</label>
                        <div class="col-sm-4">
                            <input type="password" name="userpass" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">确认密码：</label>
                        <div class="col-sm-4">
                            <input type="password" name="reuserpass" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-4">
                          <button type="submit" class="btn btn-default">添 加</button>
                        </div>
                    </div>
                
                </form>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
    
</div>

{/block}